Hi
Tapio,
I don't know. What is your code exactly?
Are you
doing something like?
Dim
axis As KM_Axis
Dim D As
Double
axis =
_Controller.GetAxis(0, "X")
D =
axis.TuningParams().DeadBandGain
Regards
TK
Group: DynoMotion |
Message: 9354 |
From: Tom Kerekes |
Date: 3/23/2014 |
Subject: Re: Vb.net example |
Hi Tapio,
I'm not sure I understand the question. But yes the Dynomotion vb.NET example is just a simple xyz 3 axis example GUI that assumes KFLOP axes 0,1,2 correspond to xyz. If you want more axes you would need to expand it.
Regards TK
Group: DynoMotion |
Message: 9357 |
From: Tapio Larikka |
Date: 3/24/2014 |
Subject: Re: Vb.net example |
Hi Tom,
I mean How do I add axes a,b&c to the list
pointed by the arrow in attached .png? Also where is the angular/linear decision
for the axis made?
Rgds,
Tapio
----- Original Message -----
Sent: Monday, March 24, 2014 1:22
AM
Subject: Re: [DynoMotion] Vb.net
example
Hi Tapio,
I'm
not sure I understand the question. But yes the Dynomotion vb.NET
example is just a simple xyz 3 axis example GUI that assumes KFLOP axes 0,1,2
correspond to xyz. If you want more axes you would need to expand
it.
Regards
TK
Group: DynoMotion |
Message: 9359 |
From: Tom Kerekes |
Date: 3/24/2014 |
Subject: Re: Vb.net example [1 Attachment] |
Hi Tapio, I can't find an arrow in your .png. But those functions and variables are part of the example that is only written to do xyz. To make an example to also do abc you would need to duplicate and modify all the functions and GUI items in the example. For example copy the code for enabling KFLOP axis 0 for X: Private Sub SetXEnabled(ByVal value As Boolean) If value = True Then WriteLineException("EnableAxis0") Else WriteLineException("DisableAxis0") End If End Sub and make a new
routine for enabling axis 3 for A like: Private Sub SetAEnabled(ByVal value As Boolean) If value = True Then WriteLineException("EnableAxis3") Else WriteLineException("DisableAxis3") End If End Sub
The degrees mode for Axis A can be selected in the MotionParams as:
_Controller.CoordMotion.MotionParams.DegreesA = True
Regards TK
| | | | | |